#ifndef PARSER_H
#define PARSER_H

#include <QList>
#include <QtSql/QtSql>
#include <stoplist.h>

typedef QVector<QString> SList;
class parser
{
public:
    parser();

public:
    QList<SList> modelToList(QSqlTableModel *model);

private:
    QString synonim(QString word);
    QString morpho(QString word);

private:
    stopList* stopL;

};

#endif // PARSER_H
